UCF STIG Viewer Logo

The macOS system must configure audit log folders group to wheel.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259459 APPL-14-001015 SV-259459r940999_rule Medium
Description
Audit log folders must have the group set to wheel. The audit service must be configured to create log files with the correct group ownership to prevent normal users from reading audit logs. Audit logs contain sensitive data about the system and users. If log files are set to be readable and writable only by system administrators, the risk is mitigated. Satisfies: SRG-OS-000057-GPOS-00027,SRG-OS-000058-GPOS-00028,SRG-OS-000059-GPOS-00029,SRG-OS-000256-GPOS-00097,SRG-OS-000257-GPOS-00098,SRG-OS-000258-GPOS-00099
STIG Date
Apple macOS 14 (Sonoma) Security Technical Implementation Guide 2024-01-10

Details

Check Text ( C-63198r940997_chk )
Verify the macOS system is configured with audit log folders group-owned by wheel with the following command:

/bin/ls -dn $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}') | /usr/bin/awk '{print $4}'

If the result is not "0", this is a finding.
Fix Text (F-63106r940998_fix)
Configure the macOS system with audit log folders group-owned by wheel with the following command:

/usr/bin/chgrp wheel /var/audit